package com.demo.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author demo
 * @since 2024-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="类目", description="")
public class Category implements Serializable {

    @ApiModelProperty(value = "类目编号")
    @TableId(value = "categoryId", type = IdType.AUTO)
    private Integer categoryId;

    @ApiModelProperty(value = "类目名称")
    @TableField("categoryName")
    private String categoryName;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "描述")
    private String description;
}
